Gives purchase rights
Schemas
- yaml
- json
- markdown
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://github.com/nqminds/CAHN/blob/main/packages/schemas/src/gives_purchase_rights.v.1.0.0.schema.yaml
title: Gives purchase rights
description: A giving of purchase rights from an authorising user to a recipient user
type: object
properties:
recipient_id:
description: id of the user receiving purchase rights
type: string
authoriser_id:
description: id of the authorising user
type: string
created_at:
description: timestamp at which purchase rights were given in milliseconds
type: integer
required:
- recipient_id
- authoriser_id
- created_at
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/nqminds/CAHN/blob/main/packages/schemas/src/gives_purchase_rights.v.1.0.0.schema.yaml",
"title": "Gives purchase rights",
"description": "A giving of purchase rights from an authorising user to a recipient user",
"type": "object",
"properties": {
"recipient_id": {
"description": "id of the user receiving purchase rights",
"type": "string"
},
"authoriser_id": {
"description": "id of the authorising user",
"type": "string"
},
"created_at": {
"description": "timestamp at which purchase rights were given in milliseconds",
"type": "integer"
}
},
"required": [
"recipient_id",
"authoriser_id",
"created_at"
]
}
Gives purchase rights
A giving of purchase rights from an authorising user to a recipient user
The schema defines the following properties:
recipient_id
(string, required)
id of the user receiving purchase rights
authoriser_id
(string, required)
id of the authorising user
created_at
(integer, required)
timestamp at which purchase rights were given in milliseconds
Examples
- table
- json